package video.com.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import video.com.entity.VideoFile;
import video.com.transportEntity.vo.FileUploadVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwj
 * @since 2023-11-11
 */
public interface VideoFileService extends IService<VideoFile>{
    Object uploadVideo(MultipartFile file , FileUploadVo vo) throws Exception;
    Object uploadVideoCover(MultipartFile file , FileUploadVo vo) throws Exception;

    void removeBatch(String ...fileIds);

    void insertBatch(VideoFile... videoFiles);
}
